<!DOCTYPE html>
<html>
<head>
 <meta charset="UTF-8">
 <title>Date对象</title>
 <script type="text/javascript">
	var str="tio中国";
	var i=0;
	for(;i<str.length;i++)
	{
		document.write(parseInt(str.charAt[i],16)+"<br>");
	}
	//if()
 </script>
 </head>
 <body>

 </body>
 </html>